<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
		foo();
		function foo() {
			console.log("第一个script标签内的函数");
		}
	</script>
	<script>
		foo();
		function foo() {
			console.log("第er个script标签内的函数");
		}
	</script>
</head>
<body>

</body>
</html>